package com.scvtc.job;

import com.scvtc.utils.DictionaryUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Description: 数据字典定时任务
 * @Author: yiFei
 * @date: 2022/5/13 10:23
 */
@Component
public class DictionaryJob {

    private static final Logger log = LoggerFactory.getLogger(DictionaryJob.class);

    @Autowired
    private DictionaryUtil dictionaryUtil;

    //  每 5 天刷新一次智能提示 （后期更改后发现没必要）
    @Scheduled(cron = "0 0 0 5/5 * ? ")
    public void dictionaryJob() throws Exception {
        log.info("字典定时任务执行");

//        runner.run();
    }

}
